import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String s = in.nextLine();
        System.out.println(toLowerCase(s));
        //System.out.println(isPalindrome(s));
        //Split(s);
        //main2(s);
    }

    public static boolean isPalindrome(String str) {
        str = str.toLowerCase();
        int i = 0;
        int j = str.length() - 1;
        while (i < j) {
            while (i < j && !isNumberOrCharacter(str.charAt(i))) {
                i++;
            }

            while (i < j && !isNumberOrCharacter(str.charAt(j))) {
                j--;
            }

            if (str.charAt(i) != str.charAt(j)) {
                return false;
            }
            i++;
            j--;
        }
        return true;
    }
    public static boolean isNumberOrCharacter(char ch){
        if(Character.isDigit(ch) || Character.isLetter(ch)){
            return true;
        }
        return false;
    }

    public static void main2(String str){
        int index = str.lastIndexOf(" ");
        System.out.println(str.substring(index + 1).length());
    }
    public static void Split(String str){
        String[] ret = str.split(" ");
        System.out.println(ret[ret.length - 1].length());
    }
    public static String toLowerCase(String s) {
        if(s == null || s.length() == 0) {
            return null;
        }
        StringBuilder sb = new StringBuilder();
        for(int i = 0;i < s.length();i++) {
            char ch = s.charAt(i);
            //大写字母进行转换
            if(ch >= 'A' && ch <= 'Z') {
                sb.append((char)(ch+32));
            }else{
                //小写字母直接拼接
                sb.append(ch);
            }
        }
        return sb.toString();
    }
}

